package com.utils.generalConfig.pojo;

import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 描述:
 * author: srdl
 * date: 2022-01-05
 */
@Table(name = "GeneralConfig")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class GeneralConfig implements Serializable {

    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private String id;
    /**
     * 名称
     */
    private String name;
    /**
     * 类型code
     */
    private String generalConfigTypeCode;
    /**
     * code
     */
    private String code;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
}
